x86emul: correct FPU stub asm() constraints
authorJan Beulich <jbeulich@suse.com>
Thu, 9 Feb 2017 09:23:22 +0000 (10:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 9 Feb 2017 09:23:22 +0000 (10:23 +0100)
commit9b0e6d34cb8e05d9ec5e308576c559f0aac5ba55
treeb1994432bcb53d0b1617929fbd10a32a0f668d00
parentb843de7f541037e8ff5779a017b837c71e7804af
x86emul: correct FPU stub asm() constraints

Properly inform the compiler about fic's role as both an input (its
insn_bytes field) and output (its exn_raised field).

Take the opportunity and bring emulate_fpu_insn_stub() more in line
with emulate_fpu_insn_stub_eflags().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 3dfbb8df335f12297cfc7db9d3df2b74c474921b
master date: 2017-01-24 12:35:59 +0100
xen/arch/x86/x86_emulate/x86_emulate.c